package ru.vsu.amm.input;

import java.util.Scanner;


public class TestInput {
	@SuppressWarnings("resource")
    public static Input getNewInput(){
		try {
			System.out.print("Input the number of test file: ");
			Scanner sc = new Scanner(System.in);
			int number = sc.nextInt();
			Input in = new Input(number);
			return in;
		} catch (Exception e) {			
			System.out.println("Try again.");
			return null;
		}
	}
	
	public static void main(String[] args) {
		getNewInput();
	}

}
